﻿// 1.3.1.2.4. Carpets -> http://bgcoder.com/Contest/Practice/79

using System;

class Carpets
{
    static void Main()
    {
        int carpetSize = int.Parse(Console.ReadLine());
        int nechetni = 0;
        int chetni = 0;

        for (int rows = 1; rows <= carpetSize / 2; rows++)
        {
            for (int i = carpetSize / 2 - rows - 1; i >= 0  ; i--)
            {
                Console.Write(".");
            }
            if (rows % 2 != 0)
            {
                Console.Write("/");
                for (int i = 0; i < nechetni; i++)
                {
                    Console.Write(" /");
                }
            }
            else
            {
                for (int i = 0; i <= chetni; i++)
                {
                    Console.Write("/ ");
                }
            }

            ////////////vertical mirror//////////////

            if (rows % 2 != 0)
            {
                for (int i = 0; i < nechetni; i++)
                {
                    Console.Write("\\ ");
                }
                Console.Write("\\");
                nechetni++;
            }
            else
            {
                for (int i = 0; i <= chetni; i++)
                {
                    Console.Write(" \\");
                }
                chetni++;
            }
            for (int i = carpetSize / 2 - rows - 1; i >= 0; i--)
            {
                Console.Write(".");
            }

            Console.WriteLine();
        }

        chetni--;
        nechetni--;

        ////////////////////////////////////horizontal mirror/////////////////////////////////////////////////////

        for (int rows = carpetSize / 2; rows >= 1; rows--)
        {
            for (int i = carpetSize / 2 - rows - 1; i >= 0; i--)
            {
                Console.Write(".");
            }
            if (rows % 2 != 0)
            {
                for (int i = 0; i < nechetni; i++)
                {
                    Console.Write("\\ ");
                }
                Console.Write("\\");
            }
            else
            {
                for (int i = 0; i <= chetni; i++)
                {
                    Console.Write("\\ ");
                }
            }

            /////////////vertical mirror///////////////

            if (rows % 2 != 0)
            {
                Console.Write("/");
                for (int i = 0; i < nechetni; i++)
                {
                    Console.Write(" /");
                }
                
                nechetni--;
            }
            else
            {
                for (int i = 0; i <= chetni; i++)
                {
                    Console.Write(" /");
                }
                chetni--;
            }
            for (int i = carpetSize / 2 - rows - 1; i >= 0; i--)
            {
                Console.Write(".");
            }
            Console.WriteLine();
        }
    }
}

/*
...../\.....        
..../  \....
.../ /\ \...
../ /  \ \..
./ / /\ \ \.
/ / /  \ \ \
\ \ \  / / /
.\ \ \/ / /.
..\ \  / /..
...\ \/ /...
....\  /....
.....\/.....
*/